var obj = {
    name: 'zs',
    age: 18,
}

obj.sex='男'

console.log(obj);